<form action="{:url()}" method="post" class="form_single">
    <div class="box">
      <div class="box-body">
        <div class="row">          
          <div class="col-md-6">
            <div class="form-group">
              <label>版本名</label>
              <span class="">version_name</span>
              <input class="form-control" name="version_name" placeholder="" value="{$info['version_name']|default=''}" type="text">
            </div>
          </div> 
		  <div class="col-md-6">
            <div class="form-group">
              <label>版本号</label>
              <span class="">version_number</span>
              <input class="form-control" name="version_number" placeholder="" value="{$info['version_number']|default=''}" type="text">
            </div>
          </div>
		  <div class="col-md-6">
            <div class="form-group">
              <label>强制更新</label>
              <span class="">is</span>
                <select name="is" class="form-control">
                        <option value="0" {if condition="$info['is'] eq 0"} selected="selected" {/if}>否</option>
						<option value="1" {if condition="$info['is'] eq 1"} selected="selected" {/if}>是</option>
                </select>
            </div>
          </div>
		  <div class="col-md-6">
            <div class="form-group">
              <label>更新日志</label>
              <span class="">cont</span>
              <input class="form-control" name="cont" placeholder="" value="{$info['cont']|default=''}" type="text">
            </div>
          </div>
          <div class="col-md-6">
            <div class="form-group">
                <label>Android安装包</label>
                <span class="">（请上传最新Android安装包）</span>
                <br/>
                {assign name="file_id" value="$info.file_id|default='0'" /}
                {:widget('file/index', ['name' => 'file_id', 'value' => $file_id, 'type' => 'file'])}
            </div>
          </div>
		  <div class="col-md-6">
            <div class="form-group">
                <label>ios安装包</label>
                <span class="">（请上传最新ios安装包）</span>
                <br/>
                {assign name="file_ids" value="$info.file_ids|default='0'" /}
                {:widget('file/index', ['name' => 'file_ids', 'value' => $file_ids, 'type' => 'file'])}
            </div>
          </div>
       </div>
        
      <div class="box-footer">
          
        <input type="hidden" name="id" value="{$info['id']|default='0'}"/>
        
        {include file="layout/edit_btn_group"/}
        
      </div>
        
      </div>
      </div>
</form>